<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php
	$id=$_GET['id'];
?>
<form action="index.php?admin=introAdmin&do=editintro&id=<?php echo $id;?>" method="post">
	<table cellspacing="0" border="0" width="995">
		<tr>
			<td width="995" class="title_manager_product">Sửa giới thiệu</td>
		</tr>
	</table>
	<table class="reference" cellspacing="0" border="1" width="995">
	<?php
		$query="SELECT * FROM introductions where id=$id";
		$result=mysql_query($query);
		while($rows=mysql_fetch_array($result)){?>
			       
			<tr>
				<td width="190" align="right"><b>Nội dung:</b></td>
				<td width="715">
					<textarea name="intro" rows="20" cols="100"><?php echo $rows['intro'];?></textarea>
				</td>
			</tr>                                  
            
		<?php
        }
		?>
        <tr>
            <td></td>
            <td>
                <input type="submit" name="submit" value="Sửa giới thiệu" />
                <input type="reset" name="reset" value="Nhập lại" />
				<input type="button" name="Cancel" value="Cancel" onclick="window.location = 'index.php?admin=introAdmin&do=listintro' " />    
            </td>
        </tr>
    </table>
</form>	
</body>
</html>